package com.youchuang.redistest.bean;

import java.io.Serializable;

public class Team implements Serializable {
	private static final long serialVersionUID = -2393771699486311382L;
	
	private String id;
	private String name;
	private String userId;

	public Team() {}
	
	public Team(String id, String name, String userId) {
		this.id = id;
		this.name = name;
		this.userId = userId;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "id: " + this.id + ", name: " + this.name + ", userId: " + this.userId;
	}
}
